#ifndef WIDGET001_H
#define WIDGET001_H

#include <QWidget>

#include<QDebug>






QT_BEGIN_NAMESPACE
namespace Ui { class Widget001; }
QT_END_NAMESPACE


inline int aa(int bb)
{
    bb++;
    qDebug()<< " bb++ :" << bb;
    return bb;
}

class Widget001 : public QWidget
{
    Q_OBJECT

public:
    Widget001(QWidget *parent = nullptr);
    ~Widget001();


    void test001();

    int (Widget001::*func_p)(int x,int y);


    int test02(int x,int y);


    int (*func_p222)(int x,int y, int z);

    int (*func_p333)(int bb);



private slots:
    void on_pushButton_clicked();

private:
    Ui::Widget001 *ui;
};
#endif // WIDGET001_H
